home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / unix / amiga / 292 < prev    next >
Encoding:
Text File  |  1996-08-06  |  2.3 KB  |  54 lines

  1. Newsgroups: comp.unix.amiga
  2. Path: gaspode.mayn.de!tanis
  3. From: tanis@gaspode.mayn.de (German Tischler)
  4. Subject: Re: NetBSD Lynx 2.4-FM won't download .lha files correctly
  5. X-Newsreader: TIN [version 1.2 PL2+color]
  6. Organization: gaspode
  7. Message-ID: <DLzy5s.1Gz@gaspode.mayn.de>
  8. References: <4drpbl$2gj@crash.microserve.net> <MEC.96Jan25145908@bounce-a2.cise.ufl.edu>
  9. Date: Tue, 30 Jan 1996 13:44:15 GMT
  10.  
  11. Michael Cerrato (mec@bounce-a2.cise.ufl.edu) wrote:
  12. : In article <4drpbl$2gj@crash.microserve.net> jshaffer@pennet.net writes:
  13.  
  14. :    From: jshaffer@pennet.net
  15. :    Newsgroups: comp.unix.amiga
  16. :    Date: 20 Jan 1996 22:12:05 GMT
  17. :    Organization: Microserve Information Systems (800)-380-INET
  18. :    Lines: 7
  19. :    Distribution: world
  20. :    NNTP-Posting-Host: jshaffer.pennet.net
  21.  
  22. :    I'm using Lynx 2.4-FM on NetBSD 1.1, and whenever I click on a link 
  23. :    which is a .lha file, it tries to display it as text instead of
  24. :    downloading it.  It downloads .gif files as expected, however.  
  25.  
  26. :    What am I doing wrong?
  27.  
  28. : Probably nothing.  The http server tells the client what type of file
  29. : is being transfered.  It usually decides this based on the extension
  30. : of the file.  If it doesn't recognize the extension, the default is
  31. : typically text/plain.  With lynx, you can hit "d" (I think) to
  32. : download the link you are sitting on.  If the server doesn't corrupt
  33. : the file as it transfers it, that ought to work.  Otherwise, try to
  34. : find a way to ftp the file.
  35.  
  36. : I am the teaching assistant for a class that uses Word for Windows
  37. : documents.  The server doesn't recoginize the .doc extension, and I
  38. : have the same problem.  I solved it by making the links to the
  39. : documents ftp URL's through the department's anonymous ftp server.
  40.  
  41. Have a look at the lynx.cfg file (you should find it in /usr/local/lib).
  42. You can add #SUFFIX entries so lynx will do something different with
  43. arriving data than display it as text. For example for .lha files add
  44. #SUFFIX:.lha:application/octet-stream
  45. and lynx will ask for a diskfile name to save the data.
  46.  
  47.  bye Tanis
  48.  
  49. -- 
  50.  ___________________________________________________________________________
  51. | German `Tanis` Tischler               EMail: tanis@gaspode.mayn.de|
  52. |                   Brainstorm Computer Club Wuerzburg                      |
  53. |___________________________________________________________________________|
  54.